<?php if (!defined('THINK_PATH')) exit(); echo W('Template/top');?>
<div class="wrapper clearfix content" style="border: 1px solid #ddd">
    <?php echo W('Template/left');?>
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href=''>财务管理</a>&gt;帐户信息</div>
        <div class="cTitle2">帐户信息</div>
        <table class="cTable accountInfo table-hover" width="100%">
            <tr>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">帐户名：</label>

                        <div class="col-sm-9">
                            <?php echo ($info["name"]); ?>
                        </div>
                    </div>
                </td>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">帐户类型：</label>

                        <div class="col-sm-9">
                            产品供应商
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">帐户总额：</label>

                        <div class="col-sm-9 text-c5">
                            <a href="<?php echo U('ProviderFinance/withdraw',array('id'=>46));?>" class='text-c5'>点击查看</a>
                        </div>
                    </div>
                </td>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">冻结金额：</label>

                        <div class="col-sm-9 text-c5">
                            <span style="color:#fc810c"> &yen;<?php echo (GetYuan($amount)); ?></span>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label"><!--可用余额：--></label>

                        <div class="col-sm-9 text-c5">
                            <!--&yen;<?php echo (GetYuan($availableBalance)); ?>-->
                        </div>
                    </div>
                </td>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">账户状态：</label>

                        <div class="col-sm-9 text-c1">
                            <?php if($info["state"] == 1): ?><span style="color:blue">正常</span>
                                <?php else: ?>
                                <span style="color:red">禁用</span><?php endif; ?>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">开户银行：</label>

                        <div class="col-sm-9">
                            <?php echo ($info["bank_name"]); ?>
                        </div>
                    </div>
                </td>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">户名帐号：</label>

                        <div class="col-sm-9">
                            <?php echo ($info["name"]); ?>&nbsp;&nbsp; <?php echo ($info["bank_name"]); ?>&nbsp;尾号<?php echo (GetBank($info["bank_account"])); ?>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" style="width:28%">合约起止时间：</label>

                        <div class="col-sm-9" style="width:72%">
                            <?php echo (substr($info["contract_start_time"],0,10)); ?>&nbsp;至&nbsp;<?php echo (substr($info["contract_end_time"],0,10)); ?>
                        </div>
                    </div>
                </td>
                <td width="50%">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">佣金比例：</label>

                        <div class="col-sm-9">
                            <?php echo (GetCommissionRate($info["commission_rate"])); ?>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<?php echo W('Template/bottom');?>
</body>
</html>